package model;

import java.io.Serializable;

import javax.persistence.*;

import java.util.Date;


/**
 * The persistent class for the event database table.
 * 
 */
@Entity
@NamedQuery(name="Event.findAll", query="SELECT e FROM Event e")
public class Event implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	
	private int idevent;

	@Temporal(TemporalType.TIMESTAMP)
	private Date date;

	private String eventCreator;

	private String indoor_outdoor;

	private String name;

	private String place;

	public Event() {
	}

	public int getIdevent() {
		return this.idevent;
	}

	public void setIdevent(int idevent) {
		this.idevent = idevent;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getEventCreator() {
		return this.eventCreator;
	}

	public void setEventCreator(String eventCreator) {
		this.eventCreator = eventCreator;
	}

	public String getIndoor_outdoor() {
		return this.indoor_outdoor;
	}

	public void setIndoor_outdoor(String indoor_outdoor) {
		this.indoor_outdoor = indoor_outdoor;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

}